#if !defined(AFX_DLGPIPESAVE_H__1E02B4B8_F7C7_45DF_8565_E4D52308F509__INCLUDED_)
#define AFX_DLGPIPESAVE_H__1E02B4B8_F7C7_45DF_8565_E4D52308F509__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DlgPipeSave.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CDlgPipeSave dialog

class CDlgPipeSave : public CDialog
{
// Construction
public:
	CDlgPipeSave(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CDlgPipeSave)
	enum { IDD = IDD_DLG_PIPESAVE };
	CButton	m_ctrlIdx;
	CEdit	m_ctrlSyxm;
	CEdit	m_ctrlSccj;
	CEdit	m_ctrlTpe;
	CEdit	m_ctrlPres;
	CEdit	m_ctrlMat;
	CComboBox	m_ctrlNo;
	CComboBox	m_ctrlDiameter;
	CComboBox	m_ctrlName;
	CString	m_strMat;
	double	m_dbTpe;
	double	m_dbPres;
	double	m_dbWeter;
	CString	m_strSccj;
	double	m_dbRadius;
	CString	m_strSyxm;
	double	m_dbWThick;
	double	m_dbZThick;
	CString	m_nDiameter;
	CString	m_strName;
	CString	m_strNo;
	double	m_dbOldPres;
	double	m_dbOldTpe;
	BOOL	m_blIdx;
	//}}AFX_DATA

public:
	double old_dbPres;
	double old_dbTpe;
	CString str_index;
	bool is_add_index;
	_ConnectionPtr pCon;
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CDlgPipeSave)
	public:
	virtual BOOL DestroyWindow();
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CDlgPipeSave)
	virtual void OnOK();
	virtual BOOL OnInitDialog();
	afx_msg void OnShowWindow(BOOL bShow, UINT nStatus);
	afx_msg void OnChkIdx();
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_DLGPIPESAVE_H__1E02B4B8_F7C7_45DF_8565_E4D52308F509__INCLUDED_)
